#include<iostream>
using namespace std;


class Data
{
public:
	void Init(int year, int month, int day)
	{
		_year = year;
		_month = month;
		_day = day;
	}
	void print()
	{
		cout << _year << "-" << _month << "-" << _day << endl;
	} 
private:
	int _year;
	int _month;
	int _day;
};
int main()
{
	Data a;
	a.Init(2022, 6, 23);
	a.print();
	return 0;
}
